package com.link.base.wechat.wxmenu.model;

/**
 * 微信公众号自定义菜单父类
 *
 * @author lujiang
 * @date 2019/02/25 17:00
 */
public class Button {

    /**
     * 所有一级菜单、二级菜单都共有一个相同的属性，那就是name
     */
    private String name;
    /*菜单类型*/
    private String type;
    /*点击菜单识别的key*/
    private String key;
    /*点击菜单跳转的url*/
    private String url;
    /*点击菜单打开的素材id*/
    private String mediaId;
    /*点击菜单跳转的小程序页面路径*/
    private String pagepath;
    /*点击菜单跳转的小程序appid*/
    private String appid;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPagepath() {
        return pagepath;
    }

    public void setPagepath(String pagepath) {
        this.pagepath = pagepath;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }
}
